package com.dfwl.packageio.core.bean;

import com.dfwl.packageio.core.base.EntityBase;
import com.lidroid.xutils.db.annotation.Column;
import com.lidroid.xutils.db.annotation.Table;
import com.lidroid.xutils.db.annotation.Transient;

import java.util.Date;

/**
 * @auth &{zhujiule}
 * @date 2018/8/13
 * @copyright
 **/
@Table(name = "PACKINGIO")
public class BarCodeInfo extends EntityBase{
//
//   "集包表
//   CREATE TABLE PACKINGLIST(
//         ID integer primary key autoincrement,
//         BOX_NO vchar[20],--大包裹号
//               EXPRESS_CODE vchar[20] UNIQUE,--小包裹号
//               UPLOAD integer,--0未上传/导出，1已上传/导出
//               ENTER_DATE date,--录入日期
//               ENTER_TIEM  tiemstamp--录入时间
//   );"



   @Column(column = "BOX_NO")
   private String boxNo;
   @Column(column = "EXPRESS_CODE")
   private String expressCode;
   @Column(column = "UPLOAD")
   private int upload;
   @Column(column = "ENTER_DATE")
   private Date enterDate;

   @Transient
   private boolean isShowSave = false;

   public boolean isSaved() {
      return isShowSave;
   }

   public void setSaved(boolean saved) {
      isShowSave = saved;
   }

   public String getBoxNo() {
      return boxNo;
   }

   public void setBoxNo(String boxNo) {
      this.boxNo = boxNo;
   }

   public String getExpressCode() {
      return expressCode;
   }

   public void setExpressCode(String expressCode) {
      this.expressCode = expressCode;
   }

   public int getUpload() {
      return upload;
   }

   public void setUpload(int upload) {
      this.upload = upload;
   }

   public Date getEnterDate() {
      return enterDate;
   }

   public void setEnterDate(Date enterDate) {
      this.enterDate = enterDate;
   }

}
